{php} 
$title = basLang::show('admin.adm_center');
$remsg = usrAdmin::opLogin($this);
{/php}
<!DOCTYPE html><html><head>
{php} 
$this->pmeta($title);
eimp('initJs','jquery,bootstrap;comm;comm(-lang)');
eimp('initCss','bootstrap,stpub,jstyle;comm'); 
glbHtml::page('aumeta');
{/php}
<meta name='robots' content='noindex, nofollow'>
<style type="text/css">
body, input, textarea, select, button{ font-size:14px; }
</style>
</head><body>

<div id="topMargin" style="display:none; border:0px solid #999;"></div>
{php glbHtml::ieLow_html();}

<div class="login-outer panel panel-primary">
    <div class="panel-heading login-head">
        <img class="logo right" src="{=PATH_VIEWS}/base/assets/logo/logo120x60.jpg">
        <select class="form-control" id="locSetS" onchange="location.href=this.value;">
            <option value=""> En&#x21d4;中 </option>
            <?php echo basLang::links("<option value='{url}'>{title}</option>"); ?>
        </select>
        <p>{show(sys_name)} - {=$title}</p>
    </div>
        <div class="panel-body">
          <form action="?login" method="post" name="fmadm" id="fmadm" class='login'>
          {if !empty($remsg) }
          <div class="text-warning bg-info topmsg">{=$remsg}</div>
          {/if}
          <p class="row"> <i class="col-xs-4 col-md-4"><a class="block pt10 c333">{lang(uname)}:</a></i>
            <i class="col-xs-8 col-md-8">
            <input id="fm[uname]" name="fm[uname]" tabindex="1" type="text" class="form-control txt" reg="key:2-15" tip="{lang(admin.fad_uid31546)}" />
            </i>
          </p>
          <p class="row"> <i class="col-xs-4 col-md-4 "><a class="block pt10 c333">{lang(upass)}:</a></i>
            <i class="col-xs-8 col-md-8">
            <input id="fm[upass]" name="fm[upass]" tabindex="2" type="password" class="form-control txt" reg="str:6-25" autocomplete="off" tip="{lang(admin.fad_up624)}" />
            </i>
          </p>
          <p class="row"> <i class="col-xs-4 col-md-4"><a class="block pt10 c333">{lang(vcode)}:</a></i>
            <i class="col-xs-8 col-md-8 tl">
            <script>fsInit('fmadm');</script><!--,'-207,-93' -->
            </i>
          </p>
          <p class="row"> <i class="col-xs-4 col-md-4"></i>
            <i class="col-xs-8 col-md-8 tr">
            <input name="submit" value="{lang(submit)}" tabindex="19820" type="submit" class="btn btn-primary form-control active" />
            <input name="act" type="hidden" value="dologin" />
            <input name="recbk" type="hidden" value="{=$recbk}" />
            </i>
          </p>
          </form>

          <div class="login-read">
            <p class="bg-info pa10 pm10">{lang(admin.tip_logim)}</p>
            <ul>
              <?php basLang::inc('admin','adminread'); ?>
              <li>Server-IP: `<?=empty($_SERVER['SERVER_ADDR'])?$_SERVER['LOCAL_ADDR']:$_SERVER['SERVER_ADDR']?>`.</li>
            </ul>
          </div> 

        </div>
        <div class="panel-footer small login-fbar">
            <a href="{surl(comm:0)}">[{lang(user.nv2_home)}]</a> # 
            <a href="{surl(comm:news)}">{lang(user.nv2_news)}</a> # 
            <a href="{surl(comm:cargo)}">{lang(user.nv2_pro)}</a> # 
            <a href="{surl(comm:topic)}">{lang(user.nv2_spe)}</a> # 
            <a href="{surl(comm:keres)}">{lang(user.nv2_res)}</a> # 
            <a href="{surl(umc:user)}">[{lang(user.nv2_user)}]</a>
        </div>
        <div class="panel-footer f12 tc">
            {php echo basDebug::runInfo(); }
        </div>
    </div>
</div>

</body></html>
{php}eimp('/~base/jslib/jq_base.js');{/php}
<script>
$(function(){
    winAutoMargin('topMargin', 20, $('.login-outer'))
    $('.login-head p').width($('.topmsg').outerWidth());
})
</script>
